package com.woniuxy.commons.entity.purchaseManager.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @ClassName PurchaseOrderGoodsDTO
 * @Description TODO
 * @Author xianhao
 * @Date 2022/4/26 17:51
 * @Version 1.0.0
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PurchaseOrderGoodsDTO {

    @TableField("good_code")
    private String goodsCode;
    @TableField("good_name")
    private String goodsName;
    @TableField("supplier")
    private String supplier;
    @TableField("craft")
    private String craft;
    @TableField("specification")
    private String specification;
    /**
     * 采购单商品id，自增
     */
    @TableId
    private Integer purchaseOrderGoodsId;
    /**
     * 产品id
     */
    @TableField("product_id")
    private Integer productId;
    /**
     * 采购单id
     */
    @TableField("purchase_order_id")
    private Integer purchaseOrderId;
    /**
     * 克重开始
     */
    @TableField("weight_start")
    private Double weightStart;

    /**
     * 克重结束
     */
    @TableField("weight_end")
    private Double weightEnd;
    /**
     * 采购数量
     */
    @TableField("pur_nums")
    private BigDecimal purNums;
    /**
     * 采购重量
     */
    @TableField("pur_weight")
    private BigDecimal purWeight;
    /**
     * 成色
     */
    @TableField("condition_")
    private Integer condition;
    /**
     * 来货重量
     */
    @TableField("cargo_weight")
    private Integer cargoWeight;
    /**
     * 来货数量
     */
    @TableField("cargo_nums")
    private Integer cargoNums;
    /**
     * 状态
     */
    @TableField("purchase_order_goods_status")
    private Integer purchaseOrderGoodsStatus;

}
